package user

import "gf-app/app/lib/page_lib"

func GetPageData(currentPage, perPage int) (pageData *page_lib.PageParam) {
	model := Model.Where("id > ?", 1).OrderBy("id desc")
	pageData, _ = page_lib.GetPage(model.Model, currentPage, perPage)
	return pageData
}
